<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Array_includes</title>
</head>
<body>
  <script>
    //判断数组中是否含有某值
    let arr = [10,20,30,40,50,100];
    let flag = arr.includes(100);
    console.log(flag);
  </script>
</body>
</html>